package com.define.ssh.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.define.ssh.dao.FictitiousUserDao;
import com.define.ssh.model.FictitiousUser;
import com.define.ssh.service.FictitiousUserService;

@Service("fictitiousUserServiceImpl")
public class FictitiousUserServiceImpl extends
		BaseServiceImpl<FictitiousUser, Long> implements FictitiousUserService {

	@Resource(name = "fictitiousUserDaoImpl")
	private FictitiousUserDao fictitiousUserDao;

	@Resource(name = "fictitiousUserDaoImpl")
	public void setBaseDao(FictitiousUserDao fictitiousUserDao) {
		super.setBaseDao(fictitiousUserDao);
	}

	@Override
	public Integer gmcount(Integer pid) {
		return fictitiousUserDao.gmcount(pid);
	}

}
